package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.entity.Result;
import org.dey.pojo.PageVo;
import org.dey.pojo.QuestionBank;

public interface QuestionBankService extends IService<QuestionBank> {

    //查
    public PageVo<QuestionBank> queryQuestionBank(QuestionBank questionBank, int pageno, int pagesize);

    //添加
    public Result insertQuestionBank(QuestionBank questionBank);

    //删除
    public Result deleteQuestionBank(int id);

    //修改前先根据id查到该数据
    public QuestionBank queryQuestionBankByid(int id);

    //根据id修改
    public Result updateQuestionBank(QuestionBank questionBank);
}
